package mtt.us.hmvcFramework.client.hmvc.events;

import hmvc4gwt.client.event.HmvcEvent;
import hmvc4gwt.client.view.View;

/**
 * Dieses Event wird geworfen wenn die View nicht weiter angezeigt werden soll
 * 
 * @author jens.meiss
 * 
 */

public class RemoveViewEvent extends HmvcEvent {
	
	private View view;

	public RemoveViewEvent(View view) {
		setView(view);
	}
	
	public Class getClassOfObject() {
		return RemoveViewEvent.class;
	}

	public View getView() {
		return view;
	}

	private void setView(View view) {
		this.view = view;
	}

}
